package com.springboot.middle.give_the_thumbsup.model.entity;

import java.util.Date;

public class Praise {
    /**
     * 主键id
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Integer id;

    /**
     * 博客id
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Integer blogId;

    /**
     * 点赞人id
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Integer userId;

    /**
     * 点赞时间
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Date praiseTime;

    /**
     * 点赞的状态
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Integer status;

    /**
     * 是否有效
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Integer isActive;

    /**
     * 创建时间
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    private Date updateTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.id
     *
     * @return 主键id
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.id
     *
     * @param id 主键id
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.blog_id
     *
     * @return 博客id
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Integer getBlogId() {
        return blogId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.blog_id
     *
     * @param blogId 博客id
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.user_id
     *
     * @return 用户id
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.user_id
     *
     * @param userId 用户id
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.praise_time
     *
     * @return 点赞时间
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Date getPraiseTime() {
        return praiseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.praise_time
     *
     * @param praiseTime 点赞时间
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setPraiseTime(Date praiseTime) {
        this.praiseTime = praiseTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.status
     *
     * @return 点赞的状态
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.status
     *
     * @param status 点赞的状态
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.is_active
     *
     * @return 是否有效
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Integer getIsActive() {
        return isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.is_active
     *
     * @param isActive 是否有效
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.create_time
     *
     * @return 是否有效
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.create_time
     *
     * @param createTime 创建时间
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column praise.update_time
     *
     * @return 更新时间
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column praise.update_time
     *
     * @param updateTime 更新时间
     * @mbg.generated Fri Feb 04 22:36:15 CST 2022
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Praise{" +
                "id=" + id +
                ", blogId=" + blogId +
                ", userId=" + userId +
                ", praiseTime=" + praiseTime +
                ", status=" + status +
                ", isActive=" + isActive +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}